package com.bjsxt.pojo;

import java.util.Date;

public class Drug {
    private Integer drugid;

    private String drugimg;

    private Integer providerid;
    
    private String providername;

    private String drugname;

    private String drugsize;

    private String drugplan;

    private Date drugmfgdate;

    private Date drugexpdate;

    private Integer drugprice;

    private Integer drugsal;

    private String drugeffect;

    private Integer drugnum;
    
    private String proname;
    
    
    
    public String getProvidername() {
		return providername;
	}

	public void setProvidername(String providername) {
		this.providername = providername;
	}

	public String getProname() {
		return proname;
	}

	public void setProname(String proname) {
		this.proname = proname;
	}

	public Integer getDrugid() {
        return drugid;
    }

    public void setDrugid(Integer drugid) {
        this.drugid = drugid;
    }

    public String getDrugimg() {
        return drugimg;
    }

    public void setDrugimg(String drugimg) {
        this.drugimg = drugimg == null ? null : drugimg.trim();
    }

    public Integer getProviderid() {
        return providerid;
    }

    public void setProviderid(Integer providerid) {
        this.providerid = providerid;
    }

    public String getDrugname() {
        return drugname;
    }

    public void setDrugname(String drugname) {
        this.drugname = drugname == null ? null : drugname.trim();
    }

    public String getDrugsize() {
        return drugsize;
    }

    public void setDrugsize(String drugsize) {
        this.drugsize = drugsize == null ? null : drugsize.trim();
    }

    public String getDrugplan() {
        return drugplan;
    }

    public void setDrugplan(String drugplan) {
        this.drugplan = drugplan == null ? null : drugplan.trim();
    }

    public Date getDrugmfgdate() {
        return drugmfgdate;
    }

    public void setDrugmfgdate(Date drugmfgdate) {
        this.drugmfgdate = drugmfgdate;
    }

    public Date getDrugexpdate() {
        return drugexpdate;
    }

    public void setDrugexpdate(Date drugexpdate) {
        this.drugexpdate = drugexpdate;
    }

    public Integer getDrugprice() {
        return drugprice;
    }

    public void setDrugprice(Integer drugprice) {
        this.drugprice = drugprice;
    }

    public Integer getDrugsal() {
        return drugsal;
    }

    public void setDrugsal(Integer drugsal) {
        this.drugsal = drugsal;
    }

    public String getDrugeffect() {
        return drugeffect;
    }

    public void setDrugeffect(String drugeffect) {
        this.drugeffect = drugeffect == null ? null : drugeffect.trim();
    }

    
    
    public Integer getDrugnum() {
        return drugnum;
    }

    public void setDrugnum(Integer drugnum) {
        this.drugnum = drugnum;
    }
    
    @Override
    public String toString() {
    	return "Drug [drugid=" + drugid + ", drugimg=" + drugimg + ", providerid=" + providerid + ", drugname="
    			+ drugname + ", drugsize=" + drugsize + ", drugplan=" + drugplan + ", drugmfgdate=" + drugmfgdate
    			+ ", drugexpdate=" + drugexpdate + ", drugprice=" + drugprice + ", drugsal=" + drugsal + ", drugeffect="
    			+ drugeffect + ", drugnum=" + drugnum + "]";
    }
}